#include "analyswidget.h"
#include "ui_analyswidget.h"

AnalysWidget::AnalysWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::AnalysWidget)
{
    ui->setupUi(this);
}

AnalysWidget::~AnalysWidget()
{
    delete ui;
}

void AnalysWidget::clearAll()
{
    foreach(QObject *qo, this->children())
    {
        QCheckBox *chk = qobject_cast<QCheckBox*>(qo);
        if (chk!=NULL) chk->setChecked(false);
    }
}
